import request from '@/utils/request'

// 查询文章审核列表
export function listRetirementArticleReview(query) {
  return request({
    url: '/retirement/retirementArticleReview/list',
    method: 'get',
    params: query
  })
}


// 置顶与取消置顶
export function stickToTop(data) {
  return request({
    url: '/retirement/retirementArticleReview/stickToTop',
    method: 'post',
    data: data
  })
}

// 撤销取消发布
export function unpublish(data) {
  return request({
    url: '/retirement/retirementArticleReview/unpublish',
    method: 'post',
    data: data
  })
}


// 审核
export function updateRetirementArticleReview(data) {
  return request({
    url: '/retirement/retirementArticleReview/articleReview',
    method: 'post',
    data: data
  })
}


